<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #chart {
      width: 400px;
      height: 400px;
    }
  </style>
  <script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.0.0/echarts.min.js"></script>
</head>

<body>
  <div id="chart"></div>
  <script>
    const chartDOM = document.getElementById("chart")
    const chart = echarts.init(chartDOM, 'dark', { renderer: 'svg' })
    chart.setOption({
      title: {
        text: '多坐标系'
      },
      xAxis: {
        data: ['一季度', '二季度', '三季度', '四季度']
      },
      yAxis: {},
      series: [
        {
          type: 'pie', // 饼图
          data: [
            { name: '分类 1', value: 50 },
            { name: '分类 2', value: 55 },
            { name: '分类 3', value: 65 },
            { name: '分类 4', value: 75}
          ],
          center: ['50%', 60],
          radius: 35,
        },
        {
          type: 'line', // 折线图
          data: [100, 120, 90, 150]
        },
        {
          type: 'bar', // 柱状图
          data: [79, 81, 72, 101]
        }
      ]
    })
  </script>
</body>

</html>